<div id="rdiff"></div>
<div class="header">
<p>
Next: [[cvs: release--Indicate that a Module is no longer in use#release&mdash;Indicate that a Module is no longer in use|release]], Previous: [[cvs: log--Print out log information for files#log&mdash;Print out log information for files|log]], Up: [[cvs: Guide to CVS commands#Guide to CVS commands|CVS commands]] &nbsp; |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p>
</div>

----

<div id="rdiff_002d_002d_002d_0027patch_0027-format-diffs-between-releases"></div>
=== rdiff&mdash;&rsquo;patch&rsquo; format diffs between releases ===
<div id="index-rdiff-_0028subcommand_0029"></div>


* rdiff <nowiki>[</nowiki>-flags<nowiki>]</nowiki> <nowiki>[</nowiki>-V vn<nowiki>]</nowiki> <nowiki>[</nowiki>-r t|-D d <nowiki>[</nowiki>-r t2|-D d2<nowiki>]]</nowiki> modules&hellip;

* Requires: repository.

* Changes: nothing.

* Synonym: patch

Builds a Larry Wall format patch(1) file between two
releases, that can be fed directly into the <code>patch</code>
program to bring an old release up-to-date with the new
release.  (This is one of the few <small>CVS</small> commands that
operates directly from the repository, and doesn&rsquo;t
require a prior checkout.) The diff output is sent to
the standard output device.

You can specify (using the standard &lsquo;<code>-r</code>&rsquo; and
&lsquo;<code>-D</code>&rsquo; options) any combination of one or two
revisions or dates.  If only one revision or date is
specified, the patch file reflects differences between
that revision or date and the current head revisions in
the <small>RCS</small> file.

Note that if the software release affected is contained
in more than one directory, then it may be necessary to
specify the &lsquo;<code>-p</code>&rsquo; option to the <code>patch</code> command when
patching the old sources, so that <code>patch</code> is able to find
the files that are located in other directories.

 [[cvs: rdiff options#rdiff options|&bull; rdiff options]]::               rdiff options
 [[cvs: rdiff examples#rdiff examples|&bull; rdiff examples]]::              rdiff examples

This document was generated on <i>a sunny day</i> using [http://www.nongnu.org/texi2html/ <i>texi2html</i>].
